 import Vue from 'vue';
 import Router from 'vue-router';
 import Task from './components/detials/task';
 import Doc from './components/detials/doc';
 import Team from './components/detials/team';
 import Sta from './components/detials/sta';
//  import test from './components/detials/test';

 Vue.use(Router);

 export default new Router({
 	mode: 'history',
 	routes: [
 		{
 			path: '/login',
 			component: resolve => require(['./components/login/login.vue'], resolve)
 		},
 		{
 			path: '/',
 			component: resolve => require(['./components/sy/home.vue'], resolve)
 		},
 		{
 			path: '/content',
 			component: resolve => require(['./components/detials/content.vue'], resolve),
 			children: [{
 					path: '/',
 					component: Task
 				},
 				{
 					path: '/task',
 					component: Task
 				},
 				{
 					path: '/doc',
 					component: Doc
 				},
 				{
 					path: '/team',
 					component: Team
 				},
 				{
 					path: '/sta',
 					component: Sta
 				}
 			]
 		}
 	]
 });
